export const useContent = () => {
    const userStore = useUserStore();

    const onSzrBtn = () => {
        if (userStore.isLogin) {
            window.open("https://szr.yzpt8.com");
        } else {
            LoginModal(true, { url: "https://szr.yzpt8.com" }, {}, true);
        }
    };

    return {
        onSzrBtn,
    };
};
